package baseClass;

import checkClass.TypeNode;

public class VarListAccess implements TypeNode {
    //用来表示是域还是数组下标
    private boolean isFiled;
    private String filedOrIndex;

    public String getFiledOrIndex() {
        return filedOrIndex;
    }

    public boolean isFiled() {
        return isFiled;
    }

    public VarListAccess(boolean isFiled, String filedOrIndex) {
        this.isFiled = isFiled;
        this.filedOrIndex = filedOrIndex;
    }
}

